package org.nepu.sc.dict;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.jpa.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "safe_rate_dict")
@ApiModel("评价指标词典")
public class SafeRateDict extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "评价指标")
    @Column(name = "rate_id")
    String rateId;

    @ApiModelProperty(value = "评价层级")
    @Column(name = "rate_level")
    Integer rateLevel;

    @ApiModelProperty(value = "评价名称")
    @Column(name = "rate_name")
    String rateName;
}
